package com.ytxg.health_management.notice.service;


import com.ytxg.health_management.notice.entity.Notice;
import com.ytxg.health_management.pojo.entity.Result;

import java.util.List;
import java.util.Map;


public interface NoticeService {

    Result<Integer> getNoticeListNumber(int id);
    Result<List<Notice>> getNoticeList(String noticeType, int id);
    Result<Map<String,Object>> getNoticeListAll(Notice notice);
    Result<String> isRead(String noticeType,int userId);
    Result<Map<String,Integer>> getUnreadNoticeNumber(int userId);
    Result<String> deleteNotice(int userId);
    Result<String> addNotice(Notice notice);
}
